package Practice05.test4;

public class Manager extends Employee{

    private int officelID;
    private int bonus;

    public Manager(String name, int number, int salary, int officelID) {
        super(name, number, salary);
        this.officelID = officelID;
    }

    public int getOfficelID() {
        return officelID;
    }

    public void setOfficelID(int officelID) {
        this.officelID = officelID;
    }

    public int getBonus() {
        return bonus;
    }

    public void setBonus(int bonus) {
        this.bonus = bonus;
    }

    @Override
    public void raiseSalary(double proportion) {
        super.raiseSalary(proportion+0.1);
    }
}
